Make miscellaneous improvements to the Android port
authorPo Lu <luangruo@yahoo.com>
Sat, 10 Feb 2024 07:02:39 +0000 (15:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 10 Feb 2024 07:06:01 +0000 (15:06 +0800)
commite7d1b12878ed83ad8c6995d8443f3367750ff0c9
tree9fe5c44c885358699f42eff0524c768306f77b20
parent6568a9a0099e7745bfd142a0fd16b4d7215c0250
Make miscellaneous improvements to the Android port

* java/org/gnu/emacs/EmacsActivity.java (onCreate): Deal with
omitted calls to onWindowFocusChanged after activity recreation.

* java/org/gnu/emacs/EmacsService.java (clearWindow, clearArea):
Delete redundant wrapper functions.
(getUsefulContentResolver, getContentResolverContext): Delete
functions.
(openContentUri, checkContentUri): Stop searching for an
activity content resolver, as that's actually not necessary.

* src/android.c (android_init_emacs_service)
(android_init_emacs_window, android_clear_window)
(android_clear_area): Adjust to match.
java/org/gnu/emacs/EmacsActivity.java
java/org/gnu/emacs/EmacsService.java
src/android.c